package com.coco.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author GHOSTLaycoo
 * @date 2020/4/13 0013 - 上午 8:47
 */
@Data
public class VideoModel {
    @ApiModelProperty("标识符")
    private String id;
    @ApiModelProperty("视频名称")
    private String videoName;
    @ApiModelProperty("视频地址")
    private String videoUrl;
    @ApiModelProperty("类型id")
    private String typeId;
    @ApiModelProperty("点赞数")
    private int star;
    @ApiModelProperty("描述")
    private String remark;
    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty("更新时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApiModelProperty("状态")
    private String status;
    @ApiModelProperty("图片id")
    private String imageId;
    @ApiModelProperty("浏览总数")
    private long sum;
}
